package com.example.xungeng2.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.xungeng2.pojo.RiskInfo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RiskInfoMapper extends BaseMapper<RiskInfo> {

    @Insert("insert into risk_info (user_id,real_name,message,create_time,tag) values(#{userId},#{realName},#{message},#{format},#{i})")
    Integer insertRiskInfo(Integer userId, String realName, String message, String format, int i);
}
